package com.sishu.websocket4.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sishu.websocket4.pojo.Groups;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface GroupsMapper extends BaseMapper<Groups> {

    @Insert("INSERT INTO Usersgroup (group_member,group_id) VALUES (#{groupMember},#{groupId})")
    void insertgroups(Groups groups);
}
